export default [
    {
        path: "/home",
        component: () => import("@/views/Home"),
    },
    {
        path: "/video-page",
        component: () => import("@/components/VideoPage"),
    },
    {
        path: "/video-item",
        component: () => import("@/views/VideoItem"),
    },
    {
        path: "/login",
        component: () => import("@/components/Login"),
    },
    {
        path: "/video-upload",
        component: () => import("@/views/VideoUpload"),
    },
    {
        path: "/navmenu",
        component: () => import("@/views/NavMenu"),
    },
    {
        path: "/mycenter",
        component: () => import("@/views/MyCenter"),
        children: [
            {
                path: "/myvideo",
                component: () => import("@/views/MyVideo"),
            },
            {
                path: "/liked",
                component: () => import("@/views/Liked"),
            },
            {
                path: "/collected",
                component: () => import("@/views/Collected"),
            },
        ]
    },
    {
        path: "/test",
        component: () => import("@/views/test"),
    },
    {
        path: '*',
        redirect: "/video-upload",
    }
]